package com.example.demo.mapper;

import com.example.demo.ao.CommentAo;
import com.example.demo.vo.CommentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@Mapper
public interface CommentMapper {

    int insertComment(@Param("ao") CommentAo commentAo);

    List<CommentVo> selectVideoById(Integer videoId);
}
